package net.lesscoding.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author eleven
 * @date 2024/12/10 9:29
 * @apiNote
 */
@RestController
@RequestMapping("/test")
public class TestController {
    @GetMapping("/sayHello")
    public String sayHello(String name) {
        return "hello " + name;
    }
}
